SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 46430: PROC APPEND might generate an "Out of memory" error message

DetailsAboutRate It

PROC APPEND might generate an "Out of memory" error message. This is most likely to occur when PROC APPEND is used to append data to a BASE= data set that is empty and has multiple indexes defined in it. Subsequent updating of the indexes might fail due to a lack of memory and can result in a damaged BASE= data set.

There are two possible workarounds for this issue.

  1. Avoid the error message by adding the following OPTIONS statement just before the PROC APPEND step:
    options $debug='yoebat=1';
    
  2. Create the data set and then create the indexes.

    a. Use PROC DATASETS to create the indexes following the creation of the data set:

    data test;
       do i = 1 to 100;
          x=i;
          output;
       end;
    run;
    proc datasets;
       modify test;
       index create x;
       index create i;
    run;
    quit;
    

    b. Create the indexes while also creating the data set:

    data test(index=(x i));
       do i = 1 to 100;
          x=i;
          output;
       end;
    run;
    


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M09.4 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M09.4 TS1M0
Microsoft Windows 2000 Advanced Server9.1 TS1M0
Microsoft Windows 2000 Datacenter Server9.1 TS1M0
Microsoft Windows 2000 Server9.1 TS1M0
Microsoft Windows 2000 Professional9.1 TS1M0
Microsoft Windows NT Workstation9.1 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M09.4 TS1M0
Microsoft Windows XP Professional9.1 TS1M09.4 TS1M0
64-bit Enabled AIX9.1 TS1M09.4 TS1M0
64-bit Enabled HP-UX9.1 TS1M09.4 TS1M0
64-bit Enabled Solaris9.1 TS1M09.4 TS1M0
HP-UX IPF9.1 TS1M09.4 TS1M0
Linux9.1 TS1M09.4 TS1M0
OpenVMS Alpha9.1 TS1M09.4 TS1M0
Tru64 UNIX9.1 TS1M09.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.